const imgPreview = (url, i, host, imgList) => {
	const currentHost = host ? `${host}` :  '';
	const urls = imgList.map(item => `${currentHost}${item}`);
	
	uni.previewImage({
		current: `${currentHost}${url}`, // 当前显示图片的http链接
		urls // 需要预览的图片http链接列表
	})
}
export default imgPreview;
